package StudyCode.summary.Basic.mymath;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CalculatorRound {
	public static void main(String[] args) {
		System.out.println("1.1 四舍五入的数值是:" + Math.round(1.1));
		System.out.println("1.4 四舍五入的数值是:" + Math.round(1.4));
		System.out.println("1.9 四舍五入的数值是:" + Math.round(1.9));
		System.out.println("2.5 四舍五入的数值是:" + Math.round(2.5));
	}
}
